<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视频检索 - 多模态检索系统</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <style>
        /* 功能特点展示样式 */
        .search-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .feature-card {
            background: #f8fafc;
            padding: 20px;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .feature-card i {
            font-size: 24px;
            color: #4299e1;
            margin-bottom: 12px;
        }

        .feature-card h3 {
            font-size: 18px;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .feature-card p {
            color: #718096;
            font-size: 14px;
            line-height: 1.6;
        }

        /* 搜索选项样式 */
        .search-options {
            background: #ebf8ff;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 24px;
        }

        .options-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
        }

        .option-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4a5568;
            font-size: 14px;
            padding: 8px;
            border-radius: 8px;
            transition: all 0.3s;
        }

        .option-item:hover {
            background: rgba(66, 153, 225, 0.1);
        }

        .option-item i {
            color: #4299e1;
        }

        /* 搜索统计样式 */
        .search-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding: 12px;
            background: #f8fafc;
            border-radius: 8px;
            color: #4a5568;
            font-size: 14px;
        }

        .stats-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .stats-item i {
            color: #4299e1;
        }

        /* 优化搜索输入区域 */
        .search-input-wrapper {
            margin: 24px 0;
        }

        .search-input {
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            transition: all 0.3s;
            height: 100px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            border-radius: 15px;



        }

        .search-input:focus-within {
            border-color: #4299e1;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
        }

        /* 优化结果卡片样式 */
        .video-card {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: transform 0.3s;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .video-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
    </style>
</head>
<body>
    <div class="layout">
        <!-- 侧边栏导航 -->
        <div class="sidebar">
            <div class="logo">
                <span>多模态检索系统</span>
            </div>
            <nav class="nav-menu">
                <a href="text-search.html" class="nav-item" data-type="text">文本检索</a>
                <a href="audio-search.html" class="nav-item" data-type="audio">语音检索</a>
                <a href="image-search.html" class="nav-item" data-type="image">图像内容理解</a>
                <a href="image-retrieval.html" class="nav-item" data-type="image-retrieval">图像检索</a>
                <a href="video-search.html" class="nav-item active" data-type="video">视频检索</a>
            </nav>
        </div>

        <!-- 主要内容区 -->
        <div class="main-content">
            <div class="search-section">
                <h2><i class="fas fa-video"></i> 视频检索</h2>

                <!-- 添加功能特点展示 -->
                <div class="search-features">
                    <div class="feature-card">
                        <i class="fas fa-search"></i>
                        <h3>智能视频检索</h3>
                        <p>基于深度学习的视频内容理解，精准定位所需视频</p>
                    </div>
                    <div class="feature-card">
                        <i class="fas fa-clock"></i>
                        <h3>实时更新</h3>
                        <p>支持实时视频内容更新，确保检索结果时效性</p>
                    </div>
                    <div class="feature-card">
                        <i class="fas fa-filter"></i>
                        <h3>多维筛选</h3>
                        <p>支持多种筛选条件，快速定位目标视频</p>
                    </div>
                </div>

                <!-- 添加搜索选项 -->
                <div class="search-options">
                    <div class="options-list">
                        <div class="option-item">
                            <i class="fas fa-sort-amount-down"></i>
                            <span>按相关度排序</span>
                        </div>
                        <div class="option-item">
                            <i class="fas fa-calendar-alt"></i>
                            <span>最近一周</span>
                        </div>
                        <div class="option-item">
                            <i class="fas fa-clock"></i>
                            <span>时长 无限制</span>
                        </div>
                        <div class="option-item">
                            <i class="fas fa-chart-line"></i>
                            <span>热度优先</span>
                        </div>
                    </div>
                </div>

                <!-- 搜索输入区域 -->
                <div class="search-input-wrapper">
                    <div class="search-input">
                        <i class="fas fa-search"></i>
                        <input type="text" id="search-input" placeholder="请输入要检索视频的文本描述...">
                    </div>
                    <button id="search-btn" class="search-btn">
                        <i class="fas fa-search"></i>
                        检索视频
                    </button>
                </div>

                <!-- 搜索统计信息 -->
                <div class="search-stats">
                    <div class="stats-item">
                        <i class="fas fa-database"></i>
                        <span>已收录视频：100,000+</span>
                    </div>
                    <div class="stats-item">
                        <i class="fas fa-sync"></i>
                        <span>每日更新：1,000+</span>
                    </div>
                    <div class="stats-item">
                        <i class="fas fa-bolt"></i>
                        <span>平均响应：15s</span>
                    </div>
                </div>

                <!-- 搜索结果显示区域 -->
                <div class="result-cards">
                    <!-- 结果卡片将通过JavaScript动态添加 -->
                </div>
            </div>
        </div>
    </div>
    <script src="video-search.js"></script>
</body>
</html> 